Water exchange with AI-assisted detection